package com.woniuxy.Dao.person.impl;

import com.woniuxy.Dao.person.Person;

public class AmericanImpl implements Person {
    String name;
    public AmericanImpl() {
        System.out.println("美国人构造成功");
    }

    public AmericanImpl(String name) {
        this.name = name;
    }

    @Override
    public void eat() {
        System.out.println("我是美国人，我爱吃汉堡");
    }
}
